import matplotlib.pyplot as plt
from die import Die

die = Die()
lines = []
line_nums = []

for roll_num in range(1000):
    line = die.roll()
    lines.append(line)

for value in range(1, die.num_sides+1):
    line_num = lines.count(value)
    line_nums.append(line_num)

print(line_nums)
d_6 = [i for i in range(1, 7)]
plt.title = 'D6 1000 times'
plt.plot(d_6, line_nums)
plt.show()
